
let show = function ({ title, type, message }) {
    ElMessageBox({
        title: title,
        type: type,
        message: message
    });
};
let showWarning = function (message, title = '警告') {
    ElMessageBox({
        title: title,
        type: 'warning',
        message: message,
        showClose: false,
        closeOnClickModal: false,
        closeOnPressEscape: false,
        closeOnHashChange: false,
    });
};

export {
    showWarning,
    show,
};
